package com.example.club.clubmanage.net;


import com.example.club.clubmanage.Constant;

public interface SubscriberListener<T> {
    /**
     *
     * @param t 得到的对象
     * @param type 传输类型
     */
    void onNext(T t, Constant.Type type, String msg);
    void onCompleted(Constant.Type type, String msg);
    void onError(Throwable e, Constant.Type type, String msg);
}
